package com.yonyou.pmclouds.stagecheck.entity;

import com.yonyou.pmclouds.basecom.entity.SuperVO;
import com.yonyou.pmclouds.inspectitem.entity.InspectItemVO;
import com.yonyou.pmclouds.plan.entity.ScheduleItemVO;
import com.yonyou.pmclouds.project.entity.ProjectVO;
import com.yonyou.pmclouds.workquality.entity.WorkqualityVO;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author chulf
 * @Date 2020/3/31
 * @Description
 **/
@Data
@Table(name = "pm_stage_check")
public class StageCheckVO extends SuperVO {

    public static final String BILL_STATUS = "billStatus";
    public static final String CREATOR = "creator";
    public static final String CREATOR_NAME = "creatorName";
    public static final String CHECK_DATE = "checkDate";

    @Id
    private String pkStageCheck;

    private String pkProject;
    private String pkScheduleItem;
    private String checkDes; //验收简述
    private Date checkDate;  //验收日期
    private String pkConstructionunit;
    private String pkWorkquality;
    private String billType;
    private byte billStatus;
    private String creator;
    private Date creationtime;
    private String modifier;
    private Date modifytime;
    private String pkTenant;
    private Integer rate;
    private String position; //地理位置信息
    private BigDecimal longitude;
    private BigDecimal latitude;

    @Transient
    private ProjectVO projectVO;
    @Transient
    private ScheduleItemVO scheduleItemVO;
    @Transient
    private InspectItemVO[] inspectItemVOS;
    @Transient
    private WorkqualityVO workqualityVO;
    @Transient
    private String creatorName;
    @Transient
    private String constructionName;
    @Transient
    private String inspectstandardName;//检查标准名称
    @Transient
    private String projectName;
    @Transient
    private String projectCode;
    @Transient
    private String orgName;
    @Transient
    private Integer qualifiedItem;//合格数
    @Transient
    private Integer checkItem;//验收项总数
    @Transient
    private String[] pictures;//图片
    @Transient
    private String manager;

}
